home *** CD-ROM | disk | FTP | other *** search
/ HyperLib 1997 Winter - Disc 1 / HYPERLIB-1997-Winter-CD1.ISO.7z / HYPERLIB-1997-Winter-CD1.ISO / オンラインウェア / PRG / Mac_F2C_1.3.2.sit / Mac F2C 1.3.2 / Mac F2C Extras / Mac F2C and Alpha / READ ME < prev    next >
Text File  |  1995-12-06  |  3KB  |  84 lines

  1.  
  2. ***************************************************************
  3.  
  4. About "f2c.tcl" and integrating Mac F2C, CodeWarrior, and Alpha
  5.  
  6. ***************************************************************
  7.  
  8.  
  9. The accompanying "f2c.tcl" file is Tool Command Language (Tcl) code 
  10. intended for use the Pete Keleher's Alpha text editor.  It was developed by 
  11. Klaus Thermann and included with his permission.  If you have any questions 
  12. or bug reports, please send them to:
  13.  
  14.     klaus@gaga.maschinenbau.uni-dortmund.de
  15.  
  16. When loaded into Alpha, this package will create a new Alpha menu that 
  17. enables you to control both Mac F2C and CodeWarrior from Alpha.  This makes 
  18. it very easy to manage FORTRAN-based projects using Mac F2C.  Additional 
  19. instructions appear as comments within "f2c.tcl"
  20.  
  21. The commands provided by "f2c.tcl" are:
  22.  
  23. Translate F To C
  24.                 Translates frontmost window from f to c using current
  25.                 settings of MAC F2C, does nothing if frontmost window
  26.                 is not *.f. If the window is dirty, it is saved before
  27.                 translation.
  28.  
  29. Open Project    Closes current project, offers file dialog to select a
  30.                 project and tells codewarrior to open it. The name of
  31.                 the selected project appears as (always) deactived menu
  32.                 item. Builds the list and menu items projectFiles and
  33.                 otherFiles (see below)
  34.  
  35. Get Project        Assumes that a code warrior project is open and gets
  36.                 its name and files. If no project exists: file dialog
  37.                 as above
  38.  
  39. Switch To Project
  40.                 Select project from list. The list f2cProjects is saved
  41.                 between sessions (addDef) and extended when a project is
  42.                 opened not contained in the list.
  43.                 Remove From List ... offers a dialog to remove files 
  44.                 from f2cProjects.
  45.  
  46. Project Files    Is a list of *.f files in the project folder which
  47.                 have corresponding *.c files in the codewarrior project.
  48.                 These files are edited (or simply brought to the front)
  49.                 when selected.
  50.  
  51. Other Files        Is a (possibly empty) list of *.f files in the project
  52.                 folder having no *.c counterparts in the project.
  53.                 Editing as above.
  54.  
  55. Run                Saves all modified files and translates from f to c, 
  56.                 followed by CODE WARRIOR run. 
  57.                 When f2c detects an error the process is stopped and the
  58.                 *.f file, where the error was detected, brought to front.
  59.  
  60. Make            Saves all modified files and translates from f to c, 
  61.                 followed by CODE WARRIOR make. 
  62.                 When f2c detects an error the process is stopped and the
  63.                 *.f file, where the error was detected, brought to front.
  64.  
  65. Add File        The *.c file corresponding to the frontmost *.f file is 
  66.                 added to the project (if the *.c and *.f are in the
  67.                 project folder, returns otherwise)
  68.  
  69. Remove File        The *.c file corresponding to the frontmost *.f file is 
  70.                 removed from the project (if the *.c and *.f are in the
  71.                 project folder, returns otherwise).
  72.  
  73. F to C & Add Files...
  74.                 Offers a dialog to pick files from list otherFiles. 
  75.                 The selected files are translated from f to c and added 
  76.                 to the cw project.
  77.                 When f2c detects an error the process is stopped and the
  78.                 *.f file, where the error was detected, brought to front.
  79.  
  80. Remove Files...
  81.                 Offers a dialog to pick files from list projectFiles.
  82.                 The selected files are removed from the cw project.
  83.  
  84.